package business.report.impl;

import business.report.BulkLandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.BulkLand;
import report.domain.BulkLandCriteria;
import report.mapper.BulkLandMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "bulkLandService")
public class BulkLandServiceImpl implements BulkLandService{
    @Autowired
    BulkLandMapper bulkLandMapper;
    @Override
    public List<BulkLand> getBulkLand() {
        BulkLandCriteria criteria = new BulkLandCriteria();
        criteria.createCriteria().getAllCriteria();
        return bulkLandMapper.selectByExample(criteria);
    }
}
